# A very simple setup script to create 2 executables.
#
# hello.py is a simple "hello, world" type program, which alse allows
# to explore the environment in which the script runs.
#
# test_wx.py is a simple wxPython program, it will be converted into a
# console-less program.
#
# If you don't have wxPython installed, you should comment out the
#   windows = ["test_wx.py"]
# line below.
#
#
# Run the build process by entering 'setup.py py2exe' or
# 'python setup.py py2exe' in a console prompt.
#
# If everything works well, you should find a subdirectory named 'dist'
# containing some files, among them hello.exe and test_wx.exe.


from distutils.core import setup
import py2exe
from programinfo import info

setup(
    # The first three parameters are not required, if at least a
    # 'version' is given, then a versioninfo resource is built from
    # them and added to the executables.
    name = info["name"],
    version = info["version"],
    description = info["description"],
    author = info["author"],
    author_email = info["author_email"],
    url = info["url"],
    license = info["license"],

    # targets to build
    windows = [
    {
        "script": "webwallpaper.py",
        "icon_resources": [
            (1, "wallpaper.ico"), 
            (2, "nationalgraphics.ico"),
            (3, "earth.ico")
            ]
    }
    ],
    )
